package com.his.dictorderfreq.dao;

import com.his.dictorderfreq.entity.DictOrderFreq;
import com.his.login.entity.DictEmployee;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author zhoufei
 * @Date 2020/3/9
 * @Version 1.0
 */
@Repository
public interface DictOrderFreqMapper {
    List<DictOrderFreq> selectByEntity(DictOrderFreq dictOrderFreq);
    //全量插入一条数据
    void insertAllColumn(DictOrderFreq dictOrderFreq);
    //根据主键freqid删除数据
    void deleteById(DictOrderFreq dictOrderFreq);
    //根据主键freqid+hospid更新数据
    void updateById(DictOrderFreq dictOrderFreq);

    void deleteByHospId(String hospId);
}
